Skip to main content
Version: Current (v7.0.0-beta.3)

7.x Upgrade Guide

This guide lists every breaking change in v7. Work through it from top to bottom to upgrade your app. New features are in What's new in v7, and the full list of changes is in the changelog.

The biggest changes: a Form passed formData now reads it only when you pass a value other than the one you passed before, so a re-render no longer replaces the edits you didn't store; each field gets a presentation plan that decides which component draws its label, description, help and errors; and every package ships as ESM only. The first two fix many bugs with lost edits and with labels and errors drawn twice or not at all. Validation was also reworked, which fixes many validation bugs.

The breaking changes are categorized as follows: Installation and build, Deprecations, Code and APIs, Form data, Markup and styles, and Localization and accessibility. Each item says what changed and what to do; open it for its Detect, Change and Verify steps. Narrow the list with the filters below by picking your theme or Core only and deselecting features you don't use.

Where RJSF can recognize v6 code at run time, it logs a console warning that ends with an ID, and the entry that explains it shows that ID. To find those places faster, make the warnings throw while you upgrade, from a test setup file or a development entry point:

import { setWarningOptions } from '@rjsf/utils';

setWarningOptions({ throwOn: ['migration'] });

Each one then throws an RJSFWarningError carrying the warning's id; see setWarningOptions().

Agents can start from llms.txt, which lists every entry with a link to its Markdown.

Loading the v7 entries…